#coding=utf-8
from stock import get_stock
from price import get_price_on, get_prices_between
from rtprice import get_rtprice, get_rtprices,get_rtprices2
from tradableshare import get_ts
from deal import get_deal
from suggest import query, get_market
from kimg import download_kimg
from fuquan import get_fqrs, get_fqrs_between, get_fqr_on

def get_histprices(code):
    s = get_stock(code)
    
    import datetime
    td = datetime.date.today().isoformat()
    
    return get_prices_between(code, s.ipo, td)

